package My.example.service;

import My.example.domain.Account;

import My.example.domain.Account;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface AccountService {

    void save(Account account);

    void delete(Integer id);

    void update(Account account);

    List<Account> findAll();

    Account findById(Integer id);

    @Transactional
    public void transfer(String out,String in ,Double money) ;

}
